/*package com.dognessnetwork.customer;

import java.util.Locale;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.LocaleResolver;

@Controller
public class MainController {

	@Autowired
	private MessageSource messageSource;

	@Autowired
    LocaleResolver localeResolver;
	
	@GetMapping("/")
	public String index(HttpServletRequest request, HttpServletResponse response,Model model) {
		localeResolver.setLocale(request, response, Locale.ENGLISH);
		Locale locale = LocaleContextHolder.getLocale();
		//model.addAttribute("world", messageSource.getMessage("world", null, locale));
		return "index";
	}

}
*/